package com.zzxy.springmvc12.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/text")
public class TestController {
    @RequestMapping("text3")
    public String text(){
        return "forward:/stu/register.do";
    }
    @RequestMapping("text4")
    public String text4(){
        return "redirect:/stu/register.do";
    }
}
